package com.ruoyi.heima.domain.po;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * news对象 tb_news
 * 
 * @author ruoyi
 * @date 2025-06-23
 */
public class TbNews extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 新闻ID */
    private Long newsId;

    /** 新闻标题 */
    @Excel(name = "新闻标题")
    private String title;

    /** 新闻类型 */
    @Excel(name = "新闻类型")
    private Long typeId;

    /** 新闻内容 */
    @Excel(name = "新闻内容")
    private String content;

    /** 延迟发布时间 */
    @Excel(name = "延迟发布时间")
    private Long delayTime;

    /** 来源 */
    @Excel(name = "来源")
    private String source;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    public void setNewsId(Long newsId) 
    {
        this.newsId = newsId;
    }

    public Long getNewsId() 
    {
        return newsId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setDelayTime(Long delayTime) 
    {
        this.delayTime = delayTime;
    }

    public Long getDelayTime() 
    {
        return delayTime;
    }
    public void setSource(String source) 
    {
        this.source = source;
    }

    public String getSource() 
    {
        return source;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("newsId", getNewsId())
            .append("title", getTitle())
            .append("typeId", getTypeId())
            .append("content", getContent())
            .append("delayTime", getDelayTime())
            .append("source", getSource())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .append("remark", getRemark())
            .toString();
    }
}
